<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class cMemCacheFiles</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class cMemCacheFiles</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">MyHammer IndexedMemcache</p>
<p class="description"><p>LICENSE</p><p>This source file is subject to the GNU General Public License Version 3  that is bundled with this package in the file LICENSE.txt.  It is also available through the world-wide-web at this URL:  http://www.myhammer.de/opensource/license/gpl.txt  If you did not receive a copy of the license and are unable to  obtain it through the world-wide-web, please send an email  to opensource@myhammer.de so we can send you a copy immediately.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Steven Berg &lt;<a href="mailto:berg@myhammer.de">berg@myhammer.de</a>&gt;</li>
				<li><span class="field">version:</span> 1.0</li>
				<li><span class="field">license:</span> <a href="http://www.myhammer.de/opensource/license/gpl.txt">GNU General Public License Version 3</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_classes---core---class.memCacheFiles.php.html">/classes/core/class.memCacheFiles.php</a> (line <span class="field">24</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
										
				<div class="method-definition">
					static 						<span class="method-result">int</span>
										<a href="#createLinkIdToGuId" title="details" class="method-name">createLinkIdToGuId</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#createObjectContainer" title="details" class="method-name">createObjectContainer</a>
											(<span class="var-type"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>
										<a href="#createObjectFromContainer" title="details" class="method-name">createObjectFromContainer</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$sDataContainer</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#deleteObject" title="details" class="method-name">deleteObject</a>
											(<span class="var-type"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">array</span>
										<a href="#getJsonByLinkIds" title="details" class="method-name">getJsonByLinkIds</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$aLinkIds</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">array</span>
										<a href="#getObjectByLinkIds" title="details" class="method-name">getObjectByLinkIds</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$aLinkIds</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>
										<a href="#readObject" title="details" class="method-name">readObject</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$sGuId</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#saveObject" title="details" class="method-name">saveObject</a>
											(<span class="var-type"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#saveObjects" title="details" class="method-name">saveObjects</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$aoMemCacheModels</span>)
									</div>
																																																																																							</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodcreateLinkIdToGuId" id="createLinkIdToGuId"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static createLinkIdToGuId</span> (line <span class="line-number">139</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">create next LinkId</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">int</span>
		<span class="method-name">
			createLinkIdToGuId
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcreateObjectContainer" id="createObjectContainer"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static createObjectContainer</span> (line <span class="line-number">120</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">convert MemCacheOBject to DataContainer</p>
	<ul class="tags">
				<li><span class="field">return:</span> - json</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">string</span>
		<span class="method-name">
			createObjectContainer
		</span>
					(<span class="var-type"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>
				<span class="var-name">$oMemCacheModel</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcreateObjectFromContainer" id="createObjectFromContainer"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static createObjectFromContainer</span> (line <span class="line-number">130</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">convert DataContainer to MemCacheObject</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>
		<span class="method-name">
			createObjectFromContainer
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$sDataContainer</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sDataContainer</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddeleteObject" id="deleteObject"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static deleteObject</span> (line <span class="line-number">90</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">delete MemCacheObject</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			deleteObject
		</span>
					(<span class="var-type"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>
				<span class="var-name">$oMemCacheModel</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetJsonByLinkIds" id="getJsonByLinkIds"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static getJsonByLinkIds</span> (line <span class="line-number">191</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">get Json by LinkIds</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">array</span>
		<span class="method-name">
			getJsonByLinkIds
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$aLinkIds</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$aLinkIds</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetObjectByLinkIds" id="getObjectByLinkIds"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static getObjectByLinkIds</span> (line <span class="line-number">158</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">get MemCacheModelObjects by LinkIds</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">array</span>
		<span class="method-name">
			getObjectByLinkIds
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$aLinkIds</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$aLinkIds</span>			</li>
				</ul>
		
			
	</div>
<a name="methodreadObject" id="readObject"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static readObject</span> (line <span class="line-number">177</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">get MemCacheModelObject as PhpObject by GuId</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>
		<span class="method-name">
			readObject
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$sGuId</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sGuId</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsaveObject" id="saveObject"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static saveObject</span> (line <span class="line-number">34</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">save MemCacheModel into MemCache</p>
<p class="description"><p>IMPORTANT: for many objects, please see methode &quot;saveObjects($aoMemCacheModels)&quot; <ul><li>MemCacheModel convert to jSonString</li><li>create and save index</li></ul></p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			saveObject
		</span>
					(<span class="var-type"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>
				<span class="var-name">$oMemCacheModel</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsaveObjects" id="saveObjects"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static saveObjects</span> (line <span class="line-number">59</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">save a array of Objects  IMPORTANT: is faster for store many objects</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			saveObjects
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$aoMemCacheModels</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$aoMemCacheModels</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Tue, 16 Feb 2010 21:42:59 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>